Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GCP for L2 networking deployment #115

Merged
merged 3 commits into from
Aug 15, 2022

Conversation

jimright
Copy link
Contributor

Update to infrastructure and platform roles to support an L2 networking deployment on GCP.
Summary of changes:

  • In infra
    • Created a Cloud Router and Cloud NAT. These are required to communicate with the Control Plane when setting up the environment resources.
    • Removes these resources during teardown.
  • In platform
  • updated the use_public_ip parameter in the cloudera.cloud.env call to follow the value of env.public_endpoint_access.

Tested these changes to confirm that L2 environment was successfully deployed. Also tested that teardown completes successfully.

Changes done in collaboration with Jeremy Wietrzykowski (@ws30)

@@ -134,6 +134,10 @@ infra__gcp_project: "{{ common__gcp_project }}"
infra__gcp_storage_location_data: "{{ infra.gcp.storage.path.data | default([infra__storage_name, infra__data_path] | join('-')) }}"
infra__gcp_storage_location_logs: "{{ infra.gcp.storage.path.logs | default([infra__storage_name, infra__logs_path] | join('-')) }}"

infra__gcp_cloud_router_name: "{{ infra.gcp.network.router.name | default([infra__namespace, 'router'] | join('-')) }}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be declared as standard suffixes and then referenced here, not input as static strings.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Chaffelson. Updated the code with those changes in commit 886b15e.

@jimright jimright requested a review from Chaffelson June 23, 2022 11:49
@wmudge wmudge added the enhancement New feature or request label Jul 14, 2022
jimright and others added 3 commits August 10, 2022 20:21
Co-authored-by: Jeremy Wietrzykowski <[email protected]>
Co-authored-by: Jim Enright <[email protected]>
Signed-off-by: Jim Enright <[email protected]>
Co-authored-by: Jeremy Wietrzykowski <[email protected]>
Co-authored-by: Jim Enright <[email protected]>
Signed-off-by: Jim Enright <[email protected]>
Co-authored-by: Jeremy Wietrzykowski <[email protected]>
Co-authored-by: Jim Enright <[email protected]>
Signed-off-by: Jim Enright <[email protected]>
@wmudge wmudge requested review from wmudge and removed request for Chaffelson August 15, 2022 16:41
@wmudge wmudge merged commit 13c7aa2 into cloudera-labs:devel Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants